<?php
$userid = intval($_GET['userid']);
aac('user')->isUser($userid);

switch($ts){
	//talk
	case "talk":
		
		$arrGroups = $db->fetch_all_assoc("select talkid from ".dbprefix."talk where userid='$userid'");
		foreach($arrGroups as $key=>$item){
			$arrGroup[] = aac('talk')->getOneGroup($item['talkid']);
		}
		
		break;
		
	//topic
	case "topic":
		break;
}